package com.源码分析;

import java.util.Arrays;

import org.junit.Test;

import reactor.core.publisher.Flux;

public class FromIterableDemo {

	@Test
	public void test(){
		Flux.fromIterable(Arrays.asList("blue", "green", "orange", "purple"))
		        .subscribe(d -> System.out.println("Subscriber to Transformed MapAndFilter: " + d));
	}

}
